package cn.iocoder.yudao.wallet.config;

import cn.iocoder.yudao.wallet.event.DepositEvent;
import cn.iocoder.yudao.wallet.service.AccountService;
import cn.iocoder.yudao.wallet.service.DepositService;
import cn.iocoder.yudao.wallet.service.WatcherLogService;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author liutao
 * @version 1.0
 * @description: TODO
 * @date 2024/10/29 01:14
 */
@AutoConfiguration
public class ServiceConfig {

    @Bean
    public AccountService accountService(){
        return new AccountService();
    }
    @Bean
    public DepositService depositService(){
        return new DepositService();
    }
    @Bean
    public WatcherLogService watcherLogService(){
        return new WatcherLogService();
    }
    @Bean
    public DepositEvent depositEvent(){
        return new DepositEvent();
    }
}
